package client.game;

/*
 * 03.05.2009 Edited
 * 06.02.2006 Java 1.5
 * 13.02.2003 Original version
 */

import javax.swing.*;

import model.ServerButton;



import java.awt.*;
import java.awt.event.*;
import java.io.Serializable;

public class TicTacToeButton extends JButton implements Serializable {
	private int buttonNo;
	private static Font font = new Font("Helvetica", Font.PLAIN, 40);

	public TicTacToeButton(int i) {
		buttonNo = i;
		setFont(font);
	}

	public int getNo() {
		return buttonNo;
	}

	public ServerButton makeServerButton() {
		ServerButton newButton=new ServerButton(buttonNo);
		return newButton;
	}
}
